from django.forms import ModelForm, Textarea, TextInput
from okuz.profile.models import Profile


class ProfileForm (ModelForm):
	class Meta:
		model = Profile;
		widgets = {
			'last_name': TextInput(attrs={'size': 30}),
			'street': TextInput(attrs={'size': 40}),
			'postal_code': TextInput(attrs={'size': 10}),
			'family_status': TextInput(attrs={'size': 40}),
			'workplace': TextInput(attrs={'size': 50}),
			'conditions': Textarea(attrs={'cols': 40, 'rows': 4}),
			'medical_history': Textarea(attrs={'cols': 40, 'rows': 4}),
			'family_illness': Textarea(attrs={'cols': 40, 'rows': 4}),
			'comment': Textarea(attrs={'cols': 40, 'rows': 4}),
		};
		#exclude = ('id',);
